package com.gyh.stlserver.service;

import com.github.pagehelper.PageInfo;
import com.gyh.stlserver.entity.Coach;

import java.util.List;

public interface CoachService {
    List<Coach> search(Coach coach);

    PageInfo<Coach> searchByPage(Integer pageNum, Integer pageSize, Coach coach);

    int addCoach(Coach coach);

    Coach getCoachByPhone(String phone);

    int removeCoach(Integer id);

    int editCoach(Coach coach);

    int delSelected(Integer[] ids);
}
